home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 247_03 / zpdoit.bat < prev    next >
DOS Batch File  |  1989-04-17  |  2KB  |  66 lines

  1. rem MIRACL - IBM PC/MS-DOS Version 2.0
  2. rem This batch files creates miracl.lib from its component parts
  3. rem using the Zortech v1.0 (or greater) C++ compiler, the Microsoft
  4. rem Macro assembler and the Microsoft LIB librarian utility
  5. rem IMPORTANT NOTE: Set path to use Microsoft LINK (Its more reliable)
  6. rem
  7. rem Read your compiler documentation for further information
  8. rem 
  9. rem Invoke as "zpdoit". It is assumed that paths have been correctly set up to
  10. rem the compiler, macro assembler, librarian and linker.
  11. rem
  12. rem Note - use with care. There is insufficient space for all of the files
  13. rem created by this batch file on the distribution diskette alone.
  14. rem
  15. rem Provided mainly as a guide for creating a batch file tailored
  16. rem specifically to your own configuration.
  17. rem
  18. rem On a diskette based system these commands should be executed manually,
  19. rem changing diskettes as necessary
  20. rem
  21. rem Compile MIRACL modules
  22. ztc bncore -c 
  23. ztc bnarth0 -c
  24. ztc bnarth1 -c
  25. ztc bnarth2 -c
  26. ztc bnsmall -c
  27. ztc bnround -c
  28. ztc bnio1 -c  
  29. ztc bnio2 -c  
  30. ztc bngcd -c  
  31. ztc bnxgcd -c 
  32. ztc bnarth3 -c
  33. ztc bnrand -c 
  34. ztc bnprime -c
  35. ztc bnflash -c
  36. ztc bndouble -c
  37. ztc bnbuild -c 
  38. ztc bnflsh1 -c 
  39. ztc bnpi -c 
  40. ztc bnflsh2 -c
  41. ztc bnflsh3 -c
  42. ztc bnflsh4 -c
  43. rem Assemble bnmuldv.c
  44. masm /mx /z /r /di8086s bnmuldv.c;
  45. rem Create library 'miracl.lib'
  46. del miracl.lib
  47. lib miracl;
  48. lib miracl +bnflsh4+bnflsh3+bnflsh2+bnpi+bnflsh1;
  49. lib miracl +bnio2+bnio1+bndouble+bnflash+bnrand+bnprime;
  50. lib miracl +bnxgcd+bngcd+bnround+bnbuild+bnarth3+bnarth2+bnarth1+bnarth0;
  51. lib miracl +bnsmall+bncore+bnmuldv;
  52. del bn*.obj
  53. rem Compile and Link example programs
  54. ztc -B fact miracl.lib
  55. del fact.obj
  56. ztc -B hail miracl.lib
  57. del hail.obj
  58. ztc -B brent miracl.lib
  59. del brent.obj
  60. ztc -B sample miracl.lib
  61. del sample.obj
  62. ztc -B pollard miracl.lib
  63. del pollard.obj
  64. del *.map
  65.  
  66.